#!/bin/bash
#========================================================================
# Author: YSLin
# Email: 
# File Name: sleep.sh
# Description: 
#   
# Edit History: 
#   2011-01-19    File created.
#========================================================================
#sleep can be used in a loop to repeat a job periodically
#enables a list of who is logged into the system to be appended to logfile every 5 minutes (300 seconds).
while :
do
	date
	who
	sleep 300
done >> logfile
